package com.mingqijia.gassafety.webserver.response;

import com.fasterxml.jackson.annotation.JsonInclude;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 带智慧厨房数据的地图数据列表出参
 * @Author: duanhongxiang
 * @Date: 2024/5/28 10:58
 */
@Data
public class ConsumerMapItemWithKitchenResponse {
    @ApiModelProperty(value = "客户id，报警器专有")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer id;

    @ApiModelProperty(value = "模板一 经度/  模板二 经度，报警器,智慧厨房都有")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Double positionLon;

    @ApiModelProperty(value = "模板一 纬度/  模板二 纬度，报警器,智慧厨房都有")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Double positionLat;

    @ApiModelProperty(value = "户号，报警器专有")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String subsCode;

    @ApiModelProperty(value = "户名，报警器专有")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String custName;

    @ApiModelProperty(value = "户号地址，报警器专有")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String custAddress;

    @ApiModelProperty(value = "报警,true存在报警设备, false没有报警设备，报警器专有")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Boolean statusAnyalert;

    @ApiModelProperty(value = "故障,true存在故障设备, false没有故障设备，报警器专有")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Boolean statusAnybroken;

    @ApiModelProperty(value = "正常 ,true存在正常设备, false没有正常设备，报警器专有")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Boolean statusAnynormal;

    @ApiModelProperty(value = "true存在离线设备, false没有离线设备，报警器专有")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Boolean statusAnyoffline;

    @ApiModelProperty(value = "电话，报警器，厨房都有")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String phone;

    @ApiModelProperty(value = "客户类型, 默认0:普通客户,1紫荆客户，报警器专有")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer consumerType;

    @ApiModelProperty(value = "用户类型，报警器专有")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String custType;

    @ApiModelProperty(value = " 模板二 安装地址")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String installationAddress;

    @ApiModelProperty(value = " 模板二 VCC用户ID /  紫荆用户id，报警器专有")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String memberId;

    @ApiModelProperty(value = " 模板二 订单姓名，报警器专有")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String contactName;

    @ApiModelProperty(value = " 模板二 订单联系电话，报警器专有")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String contactPhone;

    @ApiModelProperty(value = "设备序列号，智慧厨房专有")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String deviceId;

    @ApiModelProperty(value = "设备类型 1-SOS报警器，2-水浸报警器，3-烟雾报警器，4-智能门锁，智慧厨房专有")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer deviceType;

    @ApiModelProperty(value = "设备状态 0-正常，1-报警，2-故障，3-离线，智慧厨房专有")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String deviceStatus;

    @ApiModelProperty(value = "用户ID，智慧厨房专有")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String userId;

    @ApiModelProperty(value = "报警类型1-SOS报警、2-烟雾报警、3-烟雾防拆报警、4-漏水报警、5-水浸防拆报警、6-门锁防拆报警、7-门锁密码连续输错5次，智慧厨房专有")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer alarmType;

    @ApiModelProperty(value = "房间名称，智慧厨房专有")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String roomName	;

    @ApiModelProperty(value = "最近一次报警时间，智慧厨房专有")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String alarmTime;

    @ApiModelProperty(value = "是否来源于智慧厨房, 智慧厨房专有（有该参数，且值为true时，代表数据来源于智慧厨房）")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Boolean isFromKitchen;

    @ApiModelProperty("服务地址")
    private String serviceAddress;

    @ApiModelProperty("备用联系电话")
    private String backupPhone;
}
